Crate temporal_rs

source ·
Expand description

The Temporal crate is an implementation of ECMAScript’s Temporal buitl-in.

The crate is being designed with both engine and general use in mind.

IMPORTANT NOTE: Please note that this library is actively being developed and is very much experimental and NOT STABLE.

Temporal is the Stage 3 proposal for ECMAScript that provides new JS objects and functions for working with dates and times that fully supports time zones and non-gregorian calendars.

This library’s primary source is the Temporal Proposal specification.

Modules§

  • The primary date-time components provided by Temporal.
  • This module implements TemporalError.
  • This module implements a native Rust TemporalField and components.
  • This module implements the internal ISO field slots.
  • Native implementation of the Temporal options.
  • This module implements parsing for ISO 8601 grammar.

Macros§

  • assert_syntax! is a parser specific utility macro for asserting a syntax test, and returning a SyntaxError with the provided message if the test fails.

Structs§

Constants§

Type Aliases§